From e758e6c2a1ef264bf2e12448654233a47e8d3cc7 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 22 Jan 2006 01:12:19 +0000 Subject: [PATCH 1/1] Whoops, URL encoding (ta Brion) --- includes/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index cf8095c99a..9386d976b7 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -229,7 +229,7 @@ function wfSpecialContributions( $par = null ) { if( $wgUser->isAllowed( 'block' ) ) { $ul .= ' | ' . $sk->makeLinkObj( Title::makeTitle( NS_SPECIAL, 'Blockip/' . $nt->getText() ), wfMsgHtml( 'blocklink' ) ); } - $ul .= ' | ' . $sk->makeLinkObj( Title::makeTitle( NS_SPECIAL, 'Log' ), LogPage::logName( 'block' ), 'type=block&page=' . $nt->getPrefixedText() ); + $ul .= ' | ' . $sk->makeLinkObj( Title::makeTitle( NS_SPECIAL, 'Log' ), LogPage::logName( 'block' ), 'type=block&page=' . urlencode( $nt->getPrefixedText() ) ); } $ul .= ')'; } -- 2.20.1